home *** CD-ROM | disk | FTP | other *** search
- From: Stephen Usher <Stephen.Usher@earth.ox.ac.uk>
- Subject: Re: Why fsck doesn't work
- Date: Fri, 17 Dec 1993 16:49:13 +0000 (GMT)
- In-Reply-To: <9312171534.AA24401@suntopo.matups.fr> from "Thierry Bousch" at Dec 17, 93 04:34:30 pm
- Mime-Version: 1.0
-
- >Hi Steve,
- >
- >> Odd, why does fsck do that, does something have a file open on that partition?
- >> That's the only immediate reason why I can see the Dlock call would fail (the
- >> trace output should name the culprit). Alternatively I suppose I could add a
- >> flag to fsck to not regard the failure of Dlock() and fatal.
- >
- >This seems to be the reason. To be able to use 'fsck' on my main Minix
- >partition, I must kill syslogd, and replace tcsh by sh, because tcsh
- >always keep an open file descriptor to /etc/termcap, which lies on this
- >partition.
- >
- >Thierry.
-
- Minixfs should make a distinction between read-only and read-write or write
- opened files and should only lock fsck out if there's a file opened for
- write access, else you'll never be able to fsck the system partition during
- a boot using an rc file.
-
- Steve
-
- --
- ---------------------------------------------------------------------------
- Computer Systems Administrator, Dept. of Earth Sciences, Oxford University.
- E-Mail: steve@uk.ac.ox.earth (JANET) steve@earth.ox.ac.uk (Internet).
- Tel:- Oxford (0865) 282110 (UK) or +44 865 282110 (International).
-